package com.jn.erp.wechat.student.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jn.erp.web.api.student.entity.Student;
import com.jn.erp.web.api.student.entity.StudentUser;
import com.jn.erp.wechat.student.api.entity.vo.StudentInfoVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <pre>
 *  用于家长端学员内容查询
 * </pre>
 *
 * @author sunjiyong
 * @since 2024/11/4 16:59
 */
@Mapper
public interface StudentInfoMapper extends BaseMapper<Student> {

    List<StudentInfoVo> getStudentOrg(Long userId);

    StudentUser getMpidByStudentUser(@Param("userId") Long userId);

}
